how to do intersection of two unsorted array

welcome to shbcf.ru